package day03;

public class OperDemo1 {
    public static void main(String[] args) {
        int a=1,b=1;
        ++a;
        a++;
        b++;
        ++b;
        System.out.println(a);
        System.out.println(b);

        int aa=10,bb=10;
        int c=++aa;
        int d=bb++;
        System.out.println(aa);
        System.out.println(bb);
        System.out.println(c);
        System.out.println(d);

        int cc=--aa;
        int dd=bb--;
        System.out.println(aa);
        System.out.println(bb);
        System.out.println(cc);
        System.out.println(dd);
    }
}
